package br.com.cadele.service;

import java.io.Serializable;
import java.util.ArrayList;

import br.com.cadele.dao.TurmaDAO;
import br.com.cadele.model.Turma;

public class TurmaService implements Serializable{

	private static final long serialVersionUID = -7880245545187616985L;
	private TurmaDAO turmaDAO;
	
	public TurmaService() {
		turmaDAO = new TurmaDAO();
	}
	
	public ArrayList<Turma> getAll(){
		return turmaDAO.executeQuery("SELECT * FROM turma");
	}

	public void executeInsert(Turma turma){
		//TODO
		turmaDAO.executeQuery("");
	}
	public void executeUpdate(Turma turma, long id){
		//TODO
		turmaDAO.executeQuery("");
	}
	
	public void executeDelete(Turma turma){
		//TODO
		turmaDAO.executeQuery("");
	}
	
}
